package com.sensor.Fragment;

import android.app.Fragment;
import android.content.Intent;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import com.landmesure.bluetoothchat.R;
import com.sensor.ui.WaterMonitorActivity;


public class WaterMonitorFragment extends Fragment {


    public WaterMonitorFragment() {
    }


    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
    }

    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container,
                             Bundle savedInstanceState) {
        View view = inflater.inflate(R.layout.fragment_water_monitor, container, false);
        Intent intent = new Intent(getActivity(), WaterMonitorActivity.class);
        getActivity().startActivity(intent);
        return view;
    }


}
